'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async detail() {
    this.ctx.body = '';
  }
  async getImg() {
    this.ctx.body = await this.ctx.service.detail.home.getImg(this.ctx.query.detailid);
  }
  async getLandlord() {
    this.ctx.body = await this.ctx.service.detail.home.getLandlord(this.ctx.query.detailid);
  }
  async getLocation() {
    this.ctx.body = await this.ctx.service.detail.home.getLocation(this.ctx.query.detailid);
  }
}

module.exports = HomeController;
